package com.yuantu.judiciary.model.vo;

import com.yuantu.judiciary.model.enums.OrganizationType;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 组织列表数据
 *
 * @author syw
 * @since 2023-09-01
 **/
@Data
@ApiModel("组织列表数据")
@AllArgsConstructor
@NoArgsConstructor
public class OrgSimpleVO {
    private Long id;
    private String name;
    private OrganizationType type;

    private Boolean needPerAuthFile;
    private Boolean needEntAuthFile;

    public OrgSimpleVO(Long id, String name, OrganizationType type) {
        this.id = id;
        this.name = name;
        this.type = type;
    }
}
